package javaBasic.javaSE1.Extend_learn;

public class Zi extends Fu{
    public String Zi = "子类";
    public String name = "OHHHHH";

    public Zi(){
        System.out.println("Zi");
    }

    public void methodZi(){
        System.out.println("子类");
        System.out.println("Zi:"+Zi);
        System.out.println("Fu:"+Fu);
        System.out.println("Zi-name(this):"+this.name);
        System.out.println("Fu-name(super):"+super.name);
    }
}
